package com.xyoto.community.entity.main;

import com.xyoto.community.entity.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author lin
 * @Date 2021/10/1 22:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("动态表")
public class Dynamic extends Base {

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("话题id")
    private Integer topicId;

    @ApiModelProperty("发布动态的位置")
    private String dynamicPlace;

    @ApiModelProperty("动态内容")
    private String  content;

    @ApiModelProperty("用户匿名信息id")
    private Integer anonymousUserId;

    @ApiModelProperty("匿名状态")
    private Integer status;

    @ApiModelProperty("私人状态（1-全可见 2-私人可见）")
    private Short personal;

    @ApiModelProperty("删除状态（1-正常 2-删除）")
    private Short deleteStatus;

}
